﻿package mortal.game.view.platform
{
    import mortal.common.global.*;

    public class PlatformConst extends Object
    {
        public static const Platform37Wan:String = "37";
        public static const PlatformThunder:String = "XUNLEI";
        public static const PlatformSougou:String = "SOGOU";
        public static const QQ:String = "QQ";
        public static const Platform51WAN:String = "51WAN";
        public static const PlatformFEIHUO:String = "FEIHUO";
        public static const PlatformSHUNWANG:String = "SWJOY";
        public static const PlatformGEMENWANG:String = "GAME2";

        public function PlatformConst()
        {
            return;
        }// end function

        public static function isQQ() : Boolean
        {
            return ParamsConst.instance.platformCode == QQ;
        }// end function

        public static function isThunder() : Boolean
        {
            return ParamsConst.instance.platformCode == PlatformThunder;
        }// end function

        public static function isShunWang() : Boolean
        {
            return ParamsConst.instance.platformCode == PlatformSHUNWANG;
        }// end function

        public static function isGeMenWang() : Boolean
        {
            return ParamsConst.instance.platformCode == PlatformGEMENWANG;
        }// end function

    }
}
